package com.cr.manager.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cr.common.annotation.Excel;
import com.cr.common.core.domain.BaseEntity;

/**
 * 车辆租借管理对象 cr_user_rent
 * 
 * @author lms
 * @date 2024-08-07
 */
@Data
public class UserRent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 出租ID */
    @Excel(name = "出租ID")
    private Integer rentId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("rentId", getRentId())
            .toString();
    }
}
